<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-quality-edit" th:object="${quality}">
        <input id="qualityId" name="qualityId" th:field="*{qualityId}" type="hidden">
        <div class="form-group">
            <label class="col-sm-3 control-label">合同名称：</label>
            <div class="col-sm-8">
                <input id="contractId" name="contractId" th:field="*{contractName}" class="form-control" type="text"
                       disabled="disabled">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">工程名称：</label>
            <div class="col-sm-8">
                <input id="projectId" name="projectId" th:field="*{projectName}" class="form-control" type="text"
                       disabled="disabled">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">费用名称：</label>
            <div class="col-sm-8">
                <input id="costId" name="costId" th:field="*{costName}" class="form-control" type="text"
                       disabled="disabled">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">费用明细：</label>
            <div class="col-sm-8">
                <input id="price" name="price" th:field="*{price}" class="form-control" type="text" disabled="disabled">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">折扣：</label>
            <div class="col-sm-8">
                <input id="discount" name="discount" th:field="*{discount}" class="form-control" type="text"
                       disabled="disabled">
            </div>
        </div>
    </form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
    var prefix = ctx + "system/quality"

    function submitHandler() {
        $.modal.alertError("不能编辑，请删除后再添加");
    }
</script>
</body>
</html>
